package com.auth.builder.bean;

import org.springframework.stereotype.Component;

/**
 * @Author:Tangjiachang
 * @Date 2023/7/22
 * @Description: 使用UEL-METHOD方法分配任务
 */
@Component
public class UserBean {
    public String getUsername(int id) {
        return id == 1 ? "lisi" : "zhangsan";
    }
}
